﻿using System.Collections.Generic;
using System.Windows.Forms;
using rbrock_BLL;
using rbrock_ORM;

namespace rbrock
{
    /// <summary>
    /// 
    /// </summary>
    public partial class MainForm : Form
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MainForm"/> class.
        /// </summary>
        public MainForm()
        {
            InitializeComponent();
        }

        private void BtnGetList_OnClick(object __ObjectSender, System.EventArgs __EventArgs)
        {
            List<ObjectRelationalMapping> _List = BusinessLogicObject.GetList<ObjectRelationalMapping>();
            TxtResult.Text = _List.Count.ToString();
        }
    }
}
